package com.hc.conferencecheck.entity.entityDTO;

import com.hc.conferencecheck.entity.ConferenceAddress;

import java.util.ArrayList;
import java.util.List;

/**
 * 用于查询当前用户所有申请记录的自定义类（已超时会议不显示）
 */
public class ConferenceAppliedDTO {
    //会议ID
    private Integer id;
    //会议名称
    private String name;
    //用户ID
    private Integer conventionerId;
    //是否已通过
    private Integer isApproved;

    private List<ConferenceAddress> branchList = new ArrayList<>();

    public List<ConferenceAddress> getBranchList() {
        return branchList;
    }

    public void setBranchList(List<ConferenceAddress> branchList) {
        this.branchList = branchList;
    }

    @Override
    public String toString() {
        return "ConferenceAppliedDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", conventionerId=" + conventionerId +
                ", isApproved=" + isApproved +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getConventionerId() {
        return conventionerId;
    }

    public void setConventionerId(Integer conventionerId) {
        this.conventionerId = conventionerId;
    }

    public Integer getIsApproved() {
        return isApproved;
    }

    public void setIsApproved(Integer isApproved) {
        this.isApproved = isApproved;
    }
}